.spectrum-BarLoader {
  position: relative;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-flow: row wrap;
      flex-flow: row wrap;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  width: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
  vertical-align: top;
}

.spectrum-BarLoader-track {
  overflow: hidden;
  width: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
  height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));
  border-radius: var(--spectrum-barloader-large-border-radius);
  z-index: 1;
}

.spectrum-BarLoader-fill {
  border: none;
  height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));

  transition: width 1s;
}

[dir="ltr"] .spectrum-BarLoader-label,[dir="ltr"] 
.spectrum-BarLoader-percentage {
  text-align: left;
}

[dir="rtl"] .spectrum-BarLoader-label,[dir="rtl"] 
.spectrum-BarLoader-percentage {
  text-align: right;
}

.spectrum-BarLoader-label,
.spectrum-BarLoader-percentage {
  font-size: var(--spectrum-fieldlabel-text-size, var(--spectrum-global-dimension-font-size-75));
  font-weight: var(--spectrum-fieldlabel-text-font-weight, var(--spectrum-global-font-weight-regular));
  line-height: var(--spectrum-fieldlabel-text-line-height, var(--spectrum-global-font-line-height-small));
  margin-bottom: var(--spectrum-barloader-large-label-gap-y, var(--spectrum-global-dimension-size-115));
}

.spectrum-BarLoader-label {
  -ms-flex: 1 1 0%;
      flex: 1 1 0%;
}

[dir="ltr"] .spectrum-BarLoader-percentage {
  margin-left: var(--spectrum-barloader-small-label-gap-x, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-BarLoader-percentage {
  margin-right: var(--spectrum-barloader-small-label-gap-x, var(--spectrum-global-dimension-size-150));
}

.spectrum-BarLoader-percentage {
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.spectrum-BarLoader--sideLabel {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-flow: row;
      flex-flow: row;
  -ms-flex-pack: justify;
      justify-content: space-between;
  width: auto;
}

[dir="ltr"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-label {
    margin-right: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-label {
    margin-left: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
}

.spectrum-BarLoader--sideLabel .spectrum-BarLoader-label {
    margin-bottom: 0;
  }

[dir="ltr"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-percentage {
    text-align: right;
}

[dir="rtl"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-percentage {
    text-align: left;
}

[dir="ltr"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-percentage {
    margin-left: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-BarLoader--sideLabel .spectrum-BarLoader-percentage {
    margin-right: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
}

.spectrum-BarLoader--sideLabel .spectrum-BarLoader-percentage {
    -ms-flex-order: 3;
        order: 3;
    margin-bottom: 0;
  }

.spectrum-BarLoader--small {
  min-width: var(--spectrum-barloader-small-width, var(--spectrum-global-dimension-size-2400));
}

.spectrum-BarLoader--small .spectrum-BarLoader-fill {
    height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
  }

.spectrum-BarLoader--small .spectrum-BarLoader-track {
    height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
    border-radius: var(--spectrum-barloader-small-border-radius);
  }

.spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {
  width: var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700));
  position: relative;
  animation-timing-function: var(--spectrum-barloader-large-indeterminate-animation-ease, var(--spectrum-global-animation-ease-in-out));
  will-change: transform;
}

[dir='ltr'] .spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {
  animation: indeterminate-loop-ltr var(--spectrum-barloader-large-indeterminate-duration, var(--spectrum-global-animation-duration-2000)) infinite;
}

[dir='rtl'] .spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {
  animation: indeterminate-loop-rtl var(--spectrum-barloader-large-indeterminate-duration, var(--spectrum-global-animation-duration-2000)) infinite;
}

@keyframes indeterminate-loop-ltr {
  from {
    transform: translate(calc(-1 * var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700))));
  }
  to {
    transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
  }
}

@keyframes indeterminate-loop-rtl {
  from {
    transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
  }
  to {
    transform: translate(calc(-1 * var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400))));
  }
}

.spectrum-BarLoader .spectrum-BarLoader-fill {
    background: var(--spectrum-barloader-large-track-fill-color, var(--spectrum-global-color-blue-500));
  }

.spectrum-BarLoader .spectrum-BarLoader-track {
    background-color: var(--spectrum-barloader-large-track-color, var(--spectrum-alias-track-color-default));
  }

.spectrum-BarLoader.spectrum-BarLoader--overBackground .spectrum-BarLoader-fill {
      background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
    }

.spectrum-BarLoader.spectrum-BarLoader--overBackground .spectrum-BarLoader-label,
    .spectrum-BarLoader.spectrum-BarLoader--overBackground .spectrum-BarLoader-percentage {
      color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
    }

.spectrum-BarLoader.spectrum-BarLoader--overBackground .spectrum-BarLoader-track {
      background-color: var(--spectrum-barloader-large-over-background-track-color, var(--spectrum-alias-track-color-over-background));
    }

.spectrum-BarLoader.is-positive .spectrum-BarLoader-fill {
      background: var(--spectrum-meter-large-track-color-positive, var(--spectrum-semantic-positive-color-status));
    }

.spectrum-BarLoader.is-warning .spectrum-BarLoader-fill {
      background: var(--spectrum-meter-large-track-color-warning, var(--spectrum-semantic-notice-color-status));
    }

.spectrum-BarLoader.is-critical .spectrum-BarLoader-fill {
      background: var(--spectrum-meter-large-track-color-critical, var(--spectrum-semantic-negative-color-status));
    }

.spectrum-BarLoader-label,
.spectrum-BarLoader-percentage {
  color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
}

.spectrum-BarLoader-label,
.spectrum-BarLoader-percentage {
  color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
}

.spectrum-BarLoader-label,
.spectrum-BarLoader-percentage {
  color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
}
